package info.magnolia.blossom.sample.cv.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: peterbalazs
 * Date: 3/5/13
 * Time: 1:58 PM
 * To change this template use File | Settings | File Templates.
 */
public class SearchResult implements Serializable {
    private List<CurriculumVitae> list;
    private int totalResults;
    private int currentPage;
    private int itemsPerPage;
    private int totalPages;
    private boolean showPrevButton;
    private boolean showNextButton;
    private boolean showPagination;

    public List<CurriculumVitae> getList() {
        return list;
    }

    public void setList(List<CurriculumVitae> list) {
        this.list = list;
    }

    public int getTotalResults() {
        return totalResults;
    }

    public void setTotalResults(int totalResults) {
        this.totalResults = totalResults;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getItemsPerPage() {
        return itemsPerPage;
    }

    public void setItemsPerPage(int itemsPerPage) {
        this.itemsPerPage = itemsPerPage;
    }

    public boolean isShowPrevButton() {
        return showPrevButton;
    }

    public void setShowPrevButton(boolean showPrevButton) {
        this.showPrevButton = showPrevButton;
    }

    public boolean isShowNextButton() {
        return showNextButton;
    }

    public void setShowNextButton(boolean showNextButton) {
        this.showNextButton = showNextButton;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public boolean isShowPagination() {
        return showPagination;
    }

    public void setShowPagination(boolean showPagination) {
        this.showPagination = showPagination;
    }
}
